package com.ecoolex.ying.space.entity;

import com.ecoolex.framework.common.annotation.Description;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import org.springframework.lang.NonNull;

public class EstateProjectActivityHouseModelItemsExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    protected Integer offset;

    protected Integer rows;

    public EstateProjectActivityHouseModelItemsExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public EstateProjectActivityHouseModelItemsExample orderBy(String orderByClause) {
        this.setOrderByClause(orderByClause);
        return this;
    }

    public EstateProjectActivityHouseModelItemsExample orderBy(String ... orderByClauses) {
        StringBuffer sb = new StringBuffer();
        for (int i = 0; i < orderByClauses.length; i++) {
            sb.append(orderByClauses[i]);
            if (i < orderByClauses.length - 1) {
                sb.append(" , ");
            }
        }
        this.setOrderByClause(sb.toString());
        return this;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria(this);
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
        rows = null;
        offset = null;
    }

    public static Criteria newAndCreateCriteria() {
        EstateProjectActivityHouseModelItemsExample example = new EstateProjectActivityHouseModelItemsExample();
        return example.createCriteria();
    }

    public EstateProjectActivityHouseModelItemsExample when(boolean condition, IExampleWhen then) {
        if (condition) {
            then.example(this);
        }
        return this;
    }

    public EstateProjectActivityHouseModelItemsExample when(boolean condition, IExampleWhen then, IExampleWhen otherwise) {
        if (condition) {
            then.example(this);
        } else {
            otherwise.example(this);
        }
        return this;
    }

    public void setOffset(Integer offset) {
        this.offset = offset;
    }

    public Integer getOffset() {
        return this.offset;
    }

    public void setRows(Integer rows) {
        this.rows = rows;
    }

    public Integer getRows() {
        return this.rows;
    }

    public EstateProjectActivityHouseModelItemsExample limit(Integer rows) {
        this.rows = rows;
        return this;
    }

    public EstateProjectActivityHouseModelItemsExample limit(Integer offset, Integer rows) {
        this.offset = offset;
        this.rows = rows;
        return this;
    }

    public EstateProjectActivityHouseModelItemsExample page(Integer page, Integer pageSize) {
        this.offset = page * pageSize;
        this.rows = pageSize;
        return this;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andItemIdIsNull() {
            addCriterion("estateprojectactivityhousemodelitems.ItemId is null");
            return (Criteria) this;
        }

        public Criteria andItemIdIsNotNull() {
            addCriterion("estateprojectactivityhousemodelitems.ItemId is not null");
            return (Criteria) this;
        }

        public Criteria andItemIdEqualTo(Integer value) {
            addCriterion("estateprojectactivityhousemodelitems.ItemId =", value, "itemId");
            return (Criteria) this;
        }

        public Criteria andItemIdEqualToColumn(EstateProjectActivityHouseModelItems.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityhousemodelitems.ItemId = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andItemIdNotEqualTo(Integer value) {
            addCriterion("estateprojectactivityhousemodelitems.ItemId <>", value, "itemId");
            return (Criteria) this;
        }

        public Criteria andItemIdNotEqualToColumn(EstateProjectActivityHouseModelItems.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityhousemodelitems.ItemId <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andItemIdGreaterThan(Integer value) {
            addCriterion("estateprojectactivityhousemodelitems.ItemId >", value, "itemId");
            return (Criteria) this;
        }

        public Criteria andItemIdGreaterThanColumn(EstateProjectActivityHouseModelItems.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityhousemodelitems.ItemId > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andItemIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("estateprojectactivityhousemodelitems.ItemId >=", value, "itemId");
            return (Criteria) this;
        }

        public Criteria andItemIdGreaterThanOrEqualToColumn(EstateProjectActivityHouseModelItems.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityhousemodelitems.ItemId >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andItemIdLessThan(Integer value) {
            addCriterion("estateprojectactivityhousemodelitems.ItemId <", value, "itemId");
            return (Criteria) this;
        }

        public Criteria andItemIdLessThanColumn(EstateProjectActivityHouseModelItems.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityhousemodelitems.ItemId < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andItemIdLessThanOrEqualTo(Integer value) {
            addCriterion("estateprojectactivityhousemodelitems.ItemId <=", value, "itemId");
            return (Criteria) this;
        }

        public Criteria andItemIdLessThanOrEqualToColumn(EstateProjectActivityHouseModelItems.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityhousemodelitems.ItemId <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andItemIdIn(List<Integer> values) {
            addCriterion("estateprojectactivityhousemodelitems.ItemId in", values, "itemId");
            return (Criteria) this;
        }

        public Criteria andItemIdNotIn(List<Integer> values) {
            addCriterion("estateprojectactivityhousemodelitems.ItemId not in", values, "itemId");
            return (Criteria) this;
        }

        public Criteria andItemIdBetween(Integer value1, Integer value2) {
            addCriterion("estateprojectactivityhousemodelitems.ItemId between", value1, value2, "itemId");
            return (Criteria) this;
        }

        public Criteria andItemIdNotBetween(Integer value1, Integer value2) {
            addCriterion("estateprojectactivityhousemodelitems.ItemId not between", value1, value2, "itemId");
            return (Criteria) this;
        }

        public Criteria andModelIdIsNull() {
            addCriterion("estateprojectactivityhousemodelitems.ModelId is null");
            return (Criteria) this;
        }

        public Criteria andModelIdIsNotNull() {
            addCriterion("estateprojectactivityhousemodelitems.ModelId is not null");
            return (Criteria) this;
        }

        public Criteria andModelIdEqualTo(Integer value) {
            addCriterion("estateprojectactivityhousemodelitems.ModelId =", value, "modelId");
            return (Criteria) this;
        }

        public Criteria andModelIdEqualToColumn(EstateProjectActivityHouseModelItems.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityhousemodelitems.ModelId = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andModelIdNotEqualTo(Integer value) {
            addCriterion("estateprojectactivityhousemodelitems.ModelId <>", value, "modelId");
            return (Criteria) this;
        }

        public Criteria andModelIdNotEqualToColumn(EstateProjectActivityHouseModelItems.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityhousemodelitems.ModelId <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andModelIdGreaterThan(Integer value) {
            addCriterion("estateprojectactivityhousemodelitems.ModelId >", value, "modelId");
            return (Criteria) this;
        }

        public Criteria andModelIdGreaterThanColumn(EstateProjectActivityHouseModelItems.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityhousemodelitems.ModelId > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andModelIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("estateprojectactivityhousemodelitems.ModelId >=", value, "modelId");
            return (Criteria) this;
        }

        public Criteria andModelIdGreaterThanOrEqualToColumn(EstateProjectActivityHouseModelItems.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityhousemodelitems.ModelId >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andModelIdLessThan(Integer value) {
            addCriterion("estateprojectactivityhousemodelitems.ModelId <", value, "modelId");
            return (Criteria) this;
        }

        public Criteria andModelIdLessThanColumn(EstateProjectActivityHouseModelItems.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityhousemodelitems.ModelId < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andModelIdLessThanOrEqualTo(Integer value) {
            addCriterion("estateprojectactivityhousemodelitems.ModelId <=", value, "modelId");
            return (Criteria) this;
        }

        public Criteria andModelIdLessThanOrEqualToColumn(EstateProjectActivityHouseModelItems.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityhousemodelitems.ModelId <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andModelIdIn(List<Integer> values) {
            addCriterion("estateprojectactivityhousemodelitems.ModelId in", values, "modelId");
            return (Criteria) this;
        }

        public Criteria andModelIdNotIn(List<Integer> values) {
            addCriterion("estateprojectactivityhousemodelitems.ModelId not in", values, "modelId");
            return (Criteria) this;
        }

        public Criteria andModelIdBetween(Integer value1, Integer value2) {
            addCriterion("estateprojectactivityhousemodelitems.ModelId between", value1, value2, "modelId");
            return (Criteria) this;
        }

        public Criteria andModelIdNotBetween(Integer value1, Integer value2) {
            addCriterion("estateprojectactivityhousemodelitems.ModelId not between", value1, value2, "modelId");
            return (Criteria) this;
        }

        public Criteria andOrderedIsNull() {
            addCriterion("estateprojectactivityhousemodelitems.Ordered is null");
            return (Criteria) this;
        }

        public Criteria andOrderedIsNotNull() {
            addCriterion("estateprojectactivityhousemodelitems.Ordered is not null");
            return (Criteria) this;
        }

        public Criteria andOrderedEqualTo(Integer value) {
            addCriterion("estateprojectactivityhousemodelitems.Ordered =", value, "ordered");
            return (Criteria) this;
        }

        public Criteria andOrderedEqualToColumn(EstateProjectActivityHouseModelItems.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityhousemodelitems.Ordered = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andOrderedNotEqualTo(Integer value) {
            addCriterion("estateprojectactivityhousemodelitems.Ordered <>", value, "ordered");
            return (Criteria) this;
        }

        public Criteria andOrderedNotEqualToColumn(EstateProjectActivityHouseModelItems.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityhousemodelitems.Ordered <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andOrderedGreaterThan(Integer value) {
            addCriterion("estateprojectactivityhousemodelitems.Ordered >", value, "ordered");
            return (Criteria) this;
        }

        public Criteria andOrderedGreaterThanColumn(EstateProjectActivityHouseModelItems.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityhousemodelitems.Ordered > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andOrderedGreaterThanOrEqualTo(Integer value) {
            addCriterion("estateprojectactivityhousemodelitems.Ordered >=", value, "ordered");
            return (Criteria) this;
        }

        public Criteria andOrderedGreaterThanOrEqualToColumn(EstateProjectActivityHouseModelItems.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityhousemodelitems.Ordered >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andOrderedLessThan(Integer value) {
            addCriterion("estateprojectactivityhousemodelitems.Ordered <", value, "ordered");
            return (Criteria) this;
        }

        public Criteria andOrderedLessThanColumn(EstateProjectActivityHouseModelItems.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityhousemodelitems.Ordered < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andOrderedLessThanOrEqualTo(Integer value) {
            addCriterion("estateprojectactivityhousemodelitems.Ordered <=", value, "ordered");
            return (Criteria) this;
        }

        public Criteria andOrderedLessThanOrEqualToColumn(EstateProjectActivityHouseModelItems.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityhousemodelitems.Ordered <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andOrderedIn(List<Integer> values) {
            addCriterion("estateprojectactivityhousemodelitems.Ordered in", values, "ordered");
            return (Criteria) this;
        }

        public Criteria andOrderedNotIn(List<Integer> values) {
            addCriterion("estateprojectactivityhousemodelitems.Ordered not in", values, "ordered");
            return (Criteria) this;
        }

        public Criteria andOrderedBetween(Integer value1, Integer value2) {
            addCriterion("estateprojectactivityhousemodelitems.Ordered between", value1, value2, "ordered");
            return (Criteria) this;
        }

        public Criteria andOrderedNotBetween(Integer value1, Integer value2) {
            addCriterion("estateprojectactivityhousemodelitems.Ordered not between", value1, value2, "ordered");
            return (Criteria) this;
        }

        public Criteria andActivityCategoryIdIsNull() {
            addCriterion("estateprojectactivityhousemodelitems.ActivityCategoryId is null");
            return (Criteria) this;
        }

        public Criteria andActivityCategoryIdIsNotNull() {
            addCriterion("estateprojectactivityhousemodelitems.ActivityCategoryId is not null");
            return (Criteria) this;
        }

        public Criteria andActivityCategoryIdEqualTo(Integer value) {
            addCriterion("estateprojectactivityhousemodelitems.ActivityCategoryId =", value, "activityCategoryId");
            return (Criteria) this;
        }

        public Criteria andActivityCategoryIdEqualToColumn(EstateProjectActivityHouseModelItems.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityhousemodelitems.ActivityCategoryId = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andActivityCategoryIdNotEqualTo(Integer value) {
            addCriterion("estateprojectactivityhousemodelitems.ActivityCategoryId <>", value, "activityCategoryId");
            return (Criteria) this;
        }

        public Criteria andActivityCategoryIdNotEqualToColumn(EstateProjectActivityHouseModelItems.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityhousemodelitems.ActivityCategoryId <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andActivityCategoryIdGreaterThan(Integer value) {
            addCriterion("estateprojectactivityhousemodelitems.ActivityCategoryId >", value, "activityCategoryId");
            return (Criteria) this;
        }

        public Criteria andActivityCategoryIdGreaterThanColumn(EstateProjectActivityHouseModelItems.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityhousemodelitems.ActivityCategoryId > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andActivityCategoryIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("estateprojectactivityhousemodelitems.ActivityCategoryId >=", value, "activityCategoryId");
            return (Criteria) this;
        }

        public Criteria andActivityCategoryIdGreaterThanOrEqualToColumn(EstateProjectActivityHouseModelItems.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityhousemodelitems.ActivityCategoryId >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andActivityCategoryIdLessThan(Integer value) {
            addCriterion("estateprojectactivityhousemodelitems.ActivityCategoryId <", value, "activityCategoryId");
            return (Criteria) this;
        }

        public Criteria andActivityCategoryIdLessThanColumn(EstateProjectActivityHouseModelItems.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityhousemodelitems.ActivityCategoryId < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andActivityCategoryIdLessThanOrEqualTo(Integer value) {
            addCriterion("estateprojectactivityhousemodelitems.ActivityCategoryId <=", value, "activityCategoryId");
            return (Criteria) this;
        }

        public Criteria andActivityCategoryIdLessThanOrEqualToColumn(EstateProjectActivityHouseModelItems.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityhousemodelitems.ActivityCategoryId <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andActivityCategoryIdIn(List<Integer> values) {
            addCriterion("estateprojectactivityhousemodelitems.ActivityCategoryId in", values, "activityCategoryId");
            return (Criteria) this;
        }

        public Criteria andActivityCategoryIdNotIn(List<Integer> values) {
            addCriterion("estateprojectactivityhousemodelitems.ActivityCategoryId not in", values, "activityCategoryId");
            return (Criteria) this;
        }

        public Criteria andActivityCategoryIdBetween(Integer value1, Integer value2) {
            addCriterion("estateprojectactivityhousemodelitems.ActivityCategoryId between", value1, value2, "activityCategoryId");
            return (Criteria) this;
        }

        public Criteria andActivityCategoryIdNotBetween(Integer value1, Integer value2) {
            addCriterion("estateprojectactivityhousemodelitems.ActivityCategoryId not between", value1, value2, "activityCategoryId");
            return (Criteria) this;
        }

        public Criteria andNameIsNull() {
            addCriterion("estateprojectactivityhousemodelitems.`Name` is null");
            return (Criteria) this;
        }

        public Criteria andNameIsNotNull() {
            addCriterion("estateprojectactivityhousemodelitems.`Name` is not null");
            return (Criteria) this;
        }

        public Criteria andNameEqualTo(String value) {
            addCriterion("estateprojectactivityhousemodelitems.`Name` =", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameEqualToColumn(EstateProjectActivityHouseModelItems.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityhousemodelitems.`Name` = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andNameNotEqualTo(String value) {
            addCriterion("estateprojectactivityhousemodelitems.`Name` <>", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotEqualToColumn(EstateProjectActivityHouseModelItems.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityhousemodelitems.`Name` <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andNameGreaterThan(String value) {
            addCriterion("estateprojectactivityhousemodelitems.`Name` >", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThanColumn(EstateProjectActivityHouseModelItems.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityhousemodelitems.`Name` > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andNameGreaterThanOrEqualTo(String value) {
            addCriterion("estateprojectactivityhousemodelitems.`Name` >=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThanOrEqualToColumn(EstateProjectActivityHouseModelItems.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityhousemodelitems.`Name` >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andNameLessThan(String value) {
            addCriterion("estateprojectactivityhousemodelitems.`Name` <", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThanColumn(EstateProjectActivityHouseModelItems.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityhousemodelitems.`Name` < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andNameLessThanOrEqualTo(String value) {
            addCriterion("estateprojectactivityhousemodelitems.`Name` <=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThanOrEqualToColumn(EstateProjectActivityHouseModelItems.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityhousemodelitems.`Name` <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andNameLike(String value) {
            addCriterion("estateprojectactivityhousemodelitems.`Name` like", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotLike(String value) {
            addCriterion("estateprojectactivityhousemodelitems.`Name` not like", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameIn(List<String> values) {
            addCriterion("estateprojectactivityhousemodelitems.`Name` in", values, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotIn(List<String> values) {
            addCriterion("estateprojectactivityhousemodelitems.`Name` not in", values, "name");
            return (Criteria) this;
        }

        public Criteria andNameBetween(String value1, String value2) {
            addCriterion("estateprojectactivityhousemodelitems.`Name` between", value1, value2, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotBetween(String value1, String value2) {
            addCriterion("estateprojectactivityhousemodelitems.`Name` not between", value1, value2, "name");
            return (Criteria) this;
        }

        public Criteria andImagesIsNull() {
            addCriterion("estateprojectactivityhousemodelitems.Images is null");
            return (Criteria) this;
        }

        public Criteria andImagesIsNotNull() {
            addCriterion("estateprojectactivityhousemodelitems.Images is not null");
            return (Criteria) this;
        }

        public Criteria andImagesEqualTo(String value) {
            addCriterion("estateprojectactivityhousemodelitems.Images =", value, "images");
            return (Criteria) this;
        }

        public Criteria andImagesEqualToColumn(EstateProjectActivityHouseModelItems.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityhousemodelitems.Images = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andImagesNotEqualTo(String value) {
            addCriterion("estateprojectactivityhousemodelitems.Images <>", value, "images");
            return (Criteria) this;
        }

        public Criteria andImagesNotEqualToColumn(EstateProjectActivityHouseModelItems.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityhousemodelitems.Images <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andImagesGreaterThan(String value) {
            addCriterion("estateprojectactivityhousemodelitems.Images >", value, "images");
            return (Criteria) this;
        }

        public Criteria andImagesGreaterThanColumn(EstateProjectActivityHouseModelItems.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityhousemodelitems.Images > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andImagesGreaterThanOrEqualTo(String value) {
            addCriterion("estateprojectactivityhousemodelitems.Images >=", value, "images");
            return (Criteria) this;
        }

        public Criteria andImagesGreaterThanOrEqualToColumn(EstateProjectActivityHouseModelItems.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityhousemodelitems.Images >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andImagesLessThan(String value) {
            addCriterion("estateprojectactivityhousemodelitems.Images <", value, "images");
            return (Criteria) this;
        }

        public Criteria andImagesLessThanColumn(EstateProjectActivityHouseModelItems.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityhousemodelitems.Images < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andImagesLessThanOrEqualTo(String value) {
            addCriterion("estateprojectactivityhousemodelitems.Images <=", value, "images");
            return (Criteria) this;
        }

        public Criteria andImagesLessThanOrEqualToColumn(EstateProjectActivityHouseModelItems.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityhousemodelitems.Images <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andImagesLike(String value) {
            addCriterion("estateprojectactivityhousemodelitems.Images like", value, "images");
            return (Criteria) this;
        }

        public Criteria andImagesNotLike(String value) {
            addCriterion("estateprojectactivityhousemodelitems.Images not like", value, "images");
            return (Criteria) this;
        }

        public Criteria andImagesIn(List<String> values) {
            addCriterion("estateprojectactivityhousemodelitems.Images in", values, "images");
            return (Criteria) this;
        }

        public Criteria andImagesNotIn(List<String> values) {
            addCriterion("estateprojectactivityhousemodelitems.Images not in", values, "images");
            return (Criteria) this;
        }

        public Criteria andImagesBetween(String value1, String value2) {
            addCriterion("estateprojectactivityhousemodelitems.Images between", value1, value2, "images");
            return (Criteria) this;
        }

        public Criteria andImagesNotBetween(String value1, String value2) {
            addCriterion("estateprojectactivityhousemodelitems.Images not between", value1, value2, "images");
            return (Criteria) this;
        }

        public Criteria andJumpGoodsImageIsNull() {
            addCriterion("estateprojectactivityhousemodelitems.JumpGoodsImage is null");
            return (Criteria) this;
        }

        public Criteria andJumpGoodsImageIsNotNull() {
            addCriterion("estateprojectactivityhousemodelitems.JumpGoodsImage is not null");
            return (Criteria) this;
        }

        public Criteria andJumpGoodsImageEqualTo(String value) {
            addCriterion("estateprojectactivityhousemodelitems.JumpGoodsImage =", value, "jumpGoodsImage");
            return (Criteria) this;
        }

        public Criteria andJumpGoodsImageEqualToColumn(EstateProjectActivityHouseModelItems.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityhousemodelitems.JumpGoodsImage = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andJumpGoodsImageNotEqualTo(String value) {
            addCriterion("estateprojectactivityhousemodelitems.JumpGoodsImage <>", value, "jumpGoodsImage");
            return (Criteria) this;
        }

        public Criteria andJumpGoodsImageNotEqualToColumn(EstateProjectActivityHouseModelItems.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityhousemodelitems.JumpGoodsImage <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andJumpGoodsImageGreaterThan(String value) {
            addCriterion("estateprojectactivityhousemodelitems.JumpGoodsImage >", value, "jumpGoodsImage");
            return (Criteria) this;
        }

        public Criteria andJumpGoodsImageGreaterThanColumn(EstateProjectActivityHouseModelItems.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityhousemodelitems.JumpGoodsImage > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andJumpGoodsImageGreaterThanOrEqualTo(String value) {
            addCriterion("estateprojectactivityhousemodelitems.JumpGoodsImage >=", value, "jumpGoodsImage");
            return (Criteria) this;
        }

        public Criteria andJumpGoodsImageGreaterThanOrEqualToColumn(EstateProjectActivityHouseModelItems.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityhousemodelitems.JumpGoodsImage >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andJumpGoodsImageLessThan(String value) {
            addCriterion("estateprojectactivityhousemodelitems.JumpGoodsImage <", value, "jumpGoodsImage");
            return (Criteria) this;
        }

        public Criteria andJumpGoodsImageLessThanColumn(EstateProjectActivityHouseModelItems.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityhousemodelitems.JumpGoodsImage < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andJumpGoodsImageLessThanOrEqualTo(String value) {
            addCriterion("estateprojectactivityhousemodelitems.JumpGoodsImage <=", value, "jumpGoodsImage");
            return (Criteria) this;
        }

        public Criteria andJumpGoodsImageLessThanOrEqualToColumn(EstateProjectActivityHouseModelItems.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityhousemodelitems.JumpGoodsImage <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andJumpGoodsImageLike(String value) {
            addCriterion("estateprojectactivityhousemodelitems.JumpGoodsImage like", value, "jumpGoodsImage");
            return (Criteria) this;
        }

        public Criteria andJumpGoodsImageNotLike(String value) {
            addCriterion("estateprojectactivityhousemodelitems.JumpGoodsImage not like", value, "jumpGoodsImage");
            return (Criteria) this;
        }

        public Criteria andJumpGoodsImageIn(List<String> values) {
            addCriterion("estateprojectactivityhousemodelitems.JumpGoodsImage in", values, "jumpGoodsImage");
            return (Criteria) this;
        }

        public Criteria andJumpGoodsImageNotIn(List<String> values) {
            addCriterion("estateprojectactivityhousemodelitems.JumpGoodsImage not in", values, "jumpGoodsImage");
            return (Criteria) this;
        }

        public Criteria andJumpGoodsImageBetween(String value1, String value2) {
            addCriterion("estateprojectactivityhousemodelitems.JumpGoodsImage between", value1, value2, "jumpGoodsImage");
            return (Criteria) this;
        }

        public Criteria andJumpGoodsImageNotBetween(String value1, String value2) {
            addCriterion("estateprojectactivityhousemodelitems.JumpGoodsImage not between", value1, value2, "jumpGoodsImage");
            return (Criteria) this;
        }

        public Criteria andDescriptionIsNull() {
            addCriterion("estateprojectactivityhousemodelitems.Description is null");
            return (Criteria) this;
        }

        public Criteria andDescriptionIsNotNull() {
            addCriterion("estateprojectactivityhousemodelitems.Description is not null");
            return (Criteria) this;
        }

        public Criteria andDescriptionEqualTo(String value) {
            addCriterion("estateprojectactivityhousemodelitems.Description =", value, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionEqualToColumn(EstateProjectActivityHouseModelItems.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityhousemodelitems.Description = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDescriptionNotEqualTo(String value) {
            addCriterion("estateprojectactivityhousemodelitems.Description <>", value, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionNotEqualToColumn(EstateProjectActivityHouseModelItems.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityhousemodelitems.Description <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDescriptionGreaterThan(String value) {
            addCriterion("estateprojectactivityhousemodelitems.Description >", value, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionGreaterThanColumn(EstateProjectActivityHouseModelItems.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityhousemodelitems.Description > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDescriptionGreaterThanOrEqualTo(String value) {
            addCriterion("estateprojectactivityhousemodelitems.Description >=", value, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionGreaterThanOrEqualToColumn(EstateProjectActivityHouseModelItems.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityhousemodelitems.Description >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDescriptionLessThan(String value) {
            addCriterion("estateprojectactivityhousemodelitems.Description <", value, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionLessThanColumn(EstateProjectActivityHouseModelItems.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityhousemodelitems.Description < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDescriptionLessThanOrEqualTo(String value) {
            addCriterion("estateprojectactivityhousemodelitems.Description <=", value, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionLessThanOrEqualToColumn(EstateProjectActivityHouseModelItems.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityhousemodelitems.Description <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDescriptionLike(String value) {
            addCriterion("estateprojectactivityhousemodelitems.Description like", value, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionNotLike(String value) {
            addCriterion("estateprojectactivityhousemodelitems.Description not like", value, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionIn(List<String> values) {
            addCriterion("estateprojectactivityhousemodelitems.Description in", values, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionNotIn(List<String> values) {
            addCriterion("estateprojectactivityhousemodelitems.Description not in", values, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionBetween(String value1, String value2) {
            addCriterion("estateprojectactivityhousemodelitems.Description between", value1, value2, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionNotBetween(String value1, String value2) {
            addCriterion("estateprojectactivityhousemodelitems.Description not between", value1, value2, "description");
            return (Criteria) this;
        }

        public Criteria andDeletedIsNull() {
            addCriterion("estateprojectactivityhousemodelitems.Deleted is null");
            return (Criteria) this;
        }

        public Criteria andDeletedIsNotNull() {
            addCriterion("estateprojectactivityhousemodelitems.Deleted is not null");
            return (Criteria) this;
        }

        public Criteria andDeletedEqualTo(Boolean value) {
            addCriterion("estateprojectactivityhousemodelitems.Deleted =", value, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedEqualToColumn(EstateProjectActivityHouseModelItems.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityhousemodelitems.Deleted = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDeletedNotEqualTo(Boolean value) {
            addCriterion("estateprojectactivityhousemodelitems.Deleted <>", value, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedNotEqualToColumn(EstateProjectActivityHouseModelItems.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityhousemodelitems.Deleted <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDeletedGreaterThan(Boolean value) {
            addCriterion("estateprojectactivityhousemodelitems.Deleted >", value, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedGreaterThanColumn(EstateProjectActivityHouseModelItems.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityhousemodelitems.Deleted > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDeletedGreaterThanOrEqualTo(Boolean value) {
            addCriterion("estateprojectactivityhousemodelitems.Deleted >=", value, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedGreaterThanOrEqualToColumn(EstateProjectActivityHouseModelItems.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityhousemodelitems.Deleted >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDeletedLessThan(Boolean value) {
            addCriterion("estateprojectactivityhousemodelitems.Deleted <", value, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedLessThanColumn(EstateProjectActivityHouseModelItems.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityhousemodelitems.Deleted < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDeletedLessThanOrEqualTo(Boolean value) {
            addCriterion("estateprojectactivityhousemodelitems.Deleted <=", value, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedLessThanOrEqualToColumn(EstateProjectActivityHouseModelItems.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityhousemodelitems.Deleted <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDeletedIn(List<Boolean> values) {
            addCriterion("estateprojectactivityhousemodelitems.Deleted in", values, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedNotIn(List<Boolean> values) {
            addCriterion("estateprojectactivityhousemodelitems.Deleted not in", values, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedBetween(Boolean value1, Boolean value2) {
            addCriterion("estateprojectactivityhousemodelitems.Deleted between", value1, value2, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedNotBetween(Boolean value1, Boolean value2) {
            addCriterion("estateprojectactivityhousemodelitems.Deleted not between", value1, value2, "deleted");
            return (Criteria) this;
        }

        public Criteria andCreateUserIsNull() {
            addCriterion("estateprojectactivityhousemodelitems.`CreateUser` is null");
            return (Criteria) this;
        }

        public Criteria andCreateUserIsNotNull() {
            addCriterion("estateprojectactivityhousemodelitems.`CreateUser` is not null");
            return (Criteria) this;
        }

        public Criteria andCreateUserEqualTo(String value) {
            addCriterion("estateprojectactivityhousemodelitems.`CreateUser` =", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserEqualToColumn(EstateProjectActivityHouseModelItems.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityhousemodelitems.`CreateUser` = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateUserNotEqualTo(String value) {
            addCriterion("estateprojectactivityhousemodelitems.`CreateUser` <>", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserNotEqualToColumn(EstateProjectActivityHouseModelItems.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityhousemodelitems.`CreateUser` <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateUserGreaterThan(String value) {
            addCriterion("estateprojectactivityhousemodelitems.`CreateUser` >", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserGreaterThanColumn(EstateProjectActivityHouseModelItems.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityhousemodelitems.`CreateUser` > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateUserGreaterThanOrEqualTo(String value) {
            addCriterion("estateprojectactivityhousemodelitems.`CreateUser` >=", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserGreaterThanOrEqualToColumn(EstateProjectActivityHouseModelItems.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityhousemodelitems.`CreateUser` >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateUserLessThan(String value) {
            addCriterion("estateprojectactivityhousemodelitems.`CreateUser` <", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserLessThanColumn(EstateProjectActivityHouseModelItems.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityhousemodelitems.`CreateUser` < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateUserLessThanOrEqualTo(String value) {
            addCriterion("estateprojectactivityhousemodelitems.`CreateUser` <=", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserLessThanOrEqualToColumn(EstateProjectActivityHouseModelItems.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityhousemodelitems.`CreateUser` <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateUserLike(String value) {
            addCriterion("estateprojectactivityhousemodelitems.`CreateUser` like", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserNotLike(String value) {
            addCriterion("estateprojectactivityhousemodelitems.`CreateUser` not like", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserIn(List<String> values) {
            addCriterion("estateprojectactivityhousemodelitems.`CreateUser` in", values, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserNotIn(List<String> values) {
            addCriterion("estateprojectactivityhousemodelitems.`CreateUser` not in", values, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserBetween(String value1, String value2) {
            addCriterion("estateprojectactivityhousemodelitems.`CreateUser` between", value1, value2, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserNotBetween(String value1, String value2) {
            addCriterion("estateprojectactivityhousemodelitems.`CreateUser` not between", value1, value2, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("estateprojectactivityhousemodelitems.CreateTime is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("estateprojectactivityhousemodelitems.CreateTime is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("estateprojectactivityhousemodelitems.CreateTime =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualToColumn(EstateProjectActivityHouseModelItems.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityhousemodelitems.CreateTime = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("estateprojectactivityhousemodelitems.CreateTime <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualToColumn(EstateProjectActivityHouseModelItems.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityhousemodelitems.CreateTime <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("estateprojectactivityhousemodelitems.CreateTime >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanColumn(EstateProjectActivityHouseModelItems.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityhousemodelitems.CreateTime > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("estateprojectactivityhousemodelitems.CreateTime >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualToColumn(EstateProjectActivityHouseModelItems.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityhousemodelitems.CreateTime >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("estateprojectactivityhousemodelitems.CreateTime <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanColumn(EstateProjectActivityHouseModelItems.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityhousemodelitems.CreateTime < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("estateprojectactivityhousemodelitems.CreateTime <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualToColumn(EstateProjectActivityHouseModelItems.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityhousemodelitems.CreateTime <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("estateprojectactivityhousemodelitems.CreateTime in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("estateprojectactivityhousemodelitems.CreateTime not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("estateprojectactivityhousemodelitems.CreateTime between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("estateprojectactivityhousemodelitems.CreateTime not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIsNull() {
            addCriterion("estateprojectactivityhousemodelitems.UpdateUser is null");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIsNotNull() {
            addCriterion("estateprojectactivityhousemodelitems.UpdateUser is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateUserEqualTo(String value) {
            addCriterion("estateprojectactivityhousemodelitems.UpdateUser =", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserEqualToColumn(EstateProjectActivityHouseModelItems.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityhousemodelitems.UpdateUser = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateUserNotEqualTo(String value) {
            addCriterion("estateprojectactivityhousemodelitems.UpdateUser <>", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNotEqualToColumn(EstateProjectActivityHouseModelItems.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityhousemodelitems.UpdateUser <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateUserGreaterThan(String value) {
            addCriterion("estateprojectactivityhousemodelitems.UpdateUser >", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserGreaterThanColumn(EstateProjectActivityHouseModelItems.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityhousemodelitems.UpdateUser > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateUserGreaterThanOrEqualTo(String value) {
            addCriterion("estateprojectactivityhousemodelitems.UpdateUser >=", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserGreaterThanOrEqualToColumn(EstateProjectActivityHouseModelItems.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityhousemodelitems.UpdateUser >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateUserLessThan(String value) {
            addCriterion("estateprojectactivityhousemodelitems.UpdateUser <", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserLessThanColumn(EstateProjectActivityHouseModelItems.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityhousemodelitems.UpdateUser < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateUserLessThanOrEqualTo(String value) {
            addCriterion("estateprojectactivityhousemodelitems.UpdateUser <=", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserLessThanOrEqualToColumn(EstateProjectActivityHouseModelItems.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityhousemodelitems.UpdateUser <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateUserLike(String value) {
            addCriterion("estateprojectactivityhousemodelitems.UpdateUser like", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNotLike(String value) {
            addCriterion("estateprojectactivityhousemodelitems.UpdateUser not like", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIn(List<String> values) {
            addCriterion("estateprojectactivityhousemodelitems.UpdateUser in", values, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNotIn(List<String> values) {
            addCriterion("estateprojectactivityhousemodelitems.UpdateUser not in", values, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserBetween(String value1, String value2) {
            addCriterion("estateprojectactivityhousemodelitems.UpdateUser between", value1, value2, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNotBetween(String value1, String value2) {
            addCriterion("estateprojectactivityhousemodelitems.UpdateUser not between", value1, value2, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("estateprojectactivityhousemodelitems.UpdateTime is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("estateprojectactivityhousemodelitems.UpdateTime is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("estateprojectactivityhousemodelitems.UpdateTime =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualToColumn(EstateProjectActivityHouseModelItems.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityhousemodelitems.UpdateTime = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("estateprojectactivityhousemodelitems.UpdateTime <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualToColumn(EstateProjectActivityHouseModelItems.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityhousemodelitems.UpdateTime <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("estateprojectactivityhousemodelitems.UpdateTime >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanColumn(EstateProjectActivityHouseModelItems.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityhousemodelitems.UpdateTime > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("estateprojectactivityhousemodelitems.UpdateTime >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualToColumn(EstateProjectActivityHouseModelItems.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityhousemodelitems.UpdateTime >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("estateprojectactivityhousemodelitems.UpdateTime <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanColumn(EstateProjectActivityHouseModelItems.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityhousemodelitems.UpdateTime < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("estateprojectactivityhousemodelitems.UpdateTime <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualToColumn(EstateProjectActivityHouseModelItems.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityhousemodelitems.UpdateTime <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("estateprojectactivityhousemodelitems.UpdateTime in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("estateprojectactivityhousemodelitems.UpdateTime not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("estateprojectactivityhousemodelitems.UpdateTime between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("estateprojectactivityhousemodelitems.UpdateTime not between", value1, value2, "updateTime");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {
        private EstateProjectActivityHouseModelItemsExample example;

        protected Criteria(EstateProjectActivityHouseModelItemsExample example) {
            super();
            this.example = example;
        }

        public EstateProjectActivityHouseModelItemsExample example() {
            return this.example;
        }

        @Deprecated
        public Criteria andIf(boolean ifAdd, ICriteriaAdd add) {
            if (ifAdd) {
                add.add(this);
            }
            return this;
        }

        public Criteria when(boolean condition, ICriteriaWhen then) {
            if (condition) {
                then.criteria(this);
            }
            return this;
        }

        public Criteria when(boolean condition, ICriteriaWhen then, ICriteriaWhen otherwise) {
            if (condition) {
                then.criteria(this);
            } else {
                otherwise.criteria(this);
            }
            return this;
        }

        public Criteria andLogicalDeleted(boolean deleted) {
            return deleted ? andDeletedEqualTo(EstateProjectActivityHouseModelItems.Deleted.IS_DELETED.value()) : andDeletedNotEqualTo(EstateProjectActivityHouseModelItems.Deleted.IS_DELETED.value());
        }

        @Deprecated
        public interface ICriteriaAdd {
            Criteria add(Criteria add);
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }

    public interface ICriteriaWhen {
        void criteria(Criteria criteria);
    }

    public interface IExampleWhen {
        void example(com.ecoolex.ying.space.entity.EstateProjectActivityHouseModelItemsExample example);
    }
}